package com.doubi;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class AliyunOss {
    @Value("${aliyun.oss.endpoint}")
    public String endpoint;

    @Value("${aliyun.oss.accessKeyId}")
    public String accessKeyId;

    @Value("${aliyun.oss.accessKeySecret}")
    public String accessKeySecret;

    @Value("${aliyun.oss.stsEndPoint}")
    public String stsEndPoint;
    @Value("${aliyun.oss.roleArn}")
    public String roleArn;

    @Value("${aliyun.oss.bucketName}")
    public String bucketName;

    @Value("${aliyun.oss.domainName}")
    public String domainName;
}
